package com.dragon.modules.yuegou.mapper.product;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dragon.modules.yuegou.entity.product.StockChangeEntity;
import com.dragon.modules.yuegou.model.product.StockChange;
import com.dragon.modules.yuegou.query.product.StockChangeListQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 库存出库入库信息表 Mapper接口
 *
 * @author px
 * @date 2019-04-17 14:44:42
 * @version 2.0
 */
@Component("proStockChangeMapper")
public interface StockChangeMapper extends BaseMapper<StockChangeEntity> {

	/**
	 * 分页查询商品进出库信息
	 * */
	IPage<StockChange> searchSkuStock(IPage<Object> page, @Param("query")StockChangeListQuery query);
}
